No alert for unsaved changes on form submit

At friends.js do not warn users for unsaved changes when they try to save
Also removed old useless variable 'submit'
This version still has a bug which was fixed in 63c1c290c53f9bfa7c91d6bd455380636e6941b1