Changes to customize html5ui and add config options