Reverted to make jshint happy.
Work around for chrome's special reassign protection

turns out that chrome doesn't like you changing the "chrome" object.
Code tidy up
Merge pull request #54 from garrows/master

Work around for chrome's special reassign protection