added javascript client and websocketEnabled config