a good exmaple for requirejs