clean up, ran jslint and added quotes to footer