Removed extra comma from package.json
Fixed function name in generated script to escape characters when needed
Merge pull request #3 from mikesech/master

Fixed function name in generated script to escape characters when needed