- added javascript access class variable