Parametrized js wamp connection
js update