It’s hard to know without seeing the file tree for your theme, but you do have two slashes //
in your <script>
tag. Try this:
<script type="text/javascript" src="https://wordpress.stackexchange.com/questions/110654/<?php bloginfo("template_url'); ?>/trans.js"></script>