Remove duplicated setupNoteForm method
Merge pull request #7425 from Razer6/remove_dup_javascript

Remove duplicated setupNoteForm method