Create javascript

the javascript file