Change the port config key and removed a javascript error