updated js params