add todo comments on js and note model