Update script.js

placed soon-to-be-used function
Merge pull request #2 from outofmachina/redesign-style

Update script.js