Redesigned for an ajax friendly html template