Changed html in order to have the event listeners register