Create script.js

Tested only on chrome!