[refactor] html formatting and refacoring, js-prefixed classes