modified default formatting for html and js