working js app, no storage