Convert Java http.methods array to a JS array
Make sure travis umask is 022