add newlines to end of all files, final jshint cleanups (mostly unused variables)