Jquery create input controls dynamically and bind events