updated jquery, html structure