Move JS build step in OpenShift hook to pre-deploy.