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
Implement Timer (it works, right?)
Merge branch 'master'