Fixed broken getNew calls, creating favorite note works without javascript errors