remove dead code
Merge pull request #400 from petrosagg/remove-dead-code

Remove dead code in Script.js