Modify layout views and events index to html5 syntax