small js note