js copy improvements & minification in prod not dev