Changed page to use jquery for all listeners