put config to params
js issue