initialise submission, fix local storage issue on firefox, exposed .forms api(not implemented)