Fix JS Note model