Add leading semicolon, pass in window and document
Make pluginName a variable
Spacing and comments
Turn off hammer deteciton while transitioning