now localstorage can save source code and load automatically