inline js in register-no-ui.html
fixing a couple bugs in the store