Documents Class and visaulization JS