Update gitignore to include js
Fix up errors