Create script.js

Added script file.