Made animframe_polyfill.js JSHint compliant

Reformatted a bunch to make JSHint happy.
Merge pull request #115 from iirelu/jshint-compliance

Made animframe_polyfill.js JSHint compliant
simpler version of 2048
simpler version of 2048