Add globals for JSHint & further clean up

Clean up unused files!