js param fix