function saving to local storage working, refactored submit for jquery, object setup with jquery