Create mqtranslate.js

Separating javascript functions in a external .js file, the change involves mqtranslate_javascript.php and mqtranslate_wphacks.php