fix autosave
fix js problem
Fix javascrpt:

	- cleare local storage when saving post.