App can be loaded in browser via require function