collection of cleanups

removed unused dependencies
cleaned up according to jslint