For JavaScripting class