Clean up script.js formatting. ref #41
Simplify Script constructor. close #41
Merge pull request #44 from justcoin/tidy-scripts

Tidy up script.js