Add js to controls input fields