There are numerous lint errors.

With the release of JSHint 1.0.0, more errors showed up, as well as a
potential parsing issue in comments with unused variables, which can be
easily cleaned up, in the meantime.
There is no Nexus 4 device.

This adds support for the device on web/cordova, and also has the
correct device pixel ratio setting.