Merge pull request #3 from richmarr/master

Switching from modifying global Array prototype to using an independent function