Update script.js

If inheriting from EventEmitter, must call parent constructor
Merge pull request #51 from pocesar/master

Update script.js