Fix duplicated define in JavaScript
Merge pull request #107 from netputer/js-fix

Fix duplicated define in JavaScript
Merge pull request #1 from marcuswestin/master

pull