Added some comments explaining utility methods
Changed map to each where appropriate
Added polyfill
Added filter method
Fixed IE reserved word bug