jsApp: a bit of frontend so that we can unhardcode stuff