HTML5ify the frontend templates