Added the newest html code, the events are not working quite well