Adding controls, js