updated with some fixes, commiting to test jslint
all but 4 errors are taken care off and they're not that big of a deal. closes #55, closes #38
Merge pull request #56 from jamiecurle/strict-js

Strict js