jslint fixes
saving and updating profile done, profile auto reload done