Added solution for HTML 5