Fixed coding convention - removing lint

Using grunt jshint to remove lint from the jetpack-retina-support.js. a lot of coding conventions changes:
 1. " => '
 2. Declaring vars in the start of the code block.
 3. replacing == with === were appropriate.
 4. adding {} to condition statements.
 5. declaring global variables