Tweaks caught by jshint
Allow optional 'context' argument to array methods
Remove unused propery lookup