Update .gitignore to include build files needed by npm.
Add compiled JavaScript sources.