Added clear register button and updated jquery to 2.0