Using Regexp.prototype.test() instead of String.prototype.endsWith()

endsWith() is only supported in Firefox. Also changed some logging lines that
were causing some undefined lookups. Adding jszip to the package.json file
Removing superfluous argument to console.log()
Merge pull request #38 from rbhitchcock/master

Using Regexp.prototype.test() instead of String.prototype.endsWith()