Create myscripts.js

Javascript file. Contains the translation function.