Add API for deploying javascript remotely