Work around for chrome's special reassign protection 

Turns out that chrome has a protection against assigning the 'chrome' object to something else (and itself) and will change it to undefined instead. So that change for jshint broke it. Sorry @jgautier