enabled livereload, added some common js patterns