Codes of javascript Classes