committing javascrip notes