Update mqtranslate_javascript.php

moved javascript code to external .js file mqtranslate.js