update js build & only set js_build to true if not already set to false