JS error with livereload fix and build ready