Troubleshooting digital ocean javascript