simple example how to use requirejs (todo list implementation , save data to localstorage)