move everything in single file;
add jshintrc;
comment out storeStackTrace options because of strict mode;
jshint happy;
isolate scope