fixed js in notes