added js doc for classes