Adapted part of code to HTML5, UTF-8 and bootstrap3