Fix bugs on customizer and html5js