Remove brackets around js params