Update .gitignore with some sensible values
Use JSHint on 'base.js' and correct missing semi-colon on it