Javascript note