Added js for terms checkbox acceptance