Fix timecard.js jshint errors.
Fix up the adding logic in the project page.