bug 1031951 - incorrect origin check

Remove reference to obsolete NOTES_APP_ORIGIN constant