es5-shim version bump (plus minor cleanup)

Plus minor jslint cleanups & an optimization that moves a function
definition outside a loop.