[JS] Add: main class