Better way to pass parameters JS