add classes and attributes for helping play with javascript