Moved mas.util to jsp page and set ids and classes on the html resource so that mas.util can use them.