webserver: fixed controls.js namespace bug