removes comma errors adds minified js for build