created script.js

created script.js in the javascript directory