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
basic side walls check added
Merge branch 'master' into gh-pages