Do you want to start splitting this away from the main application sooner rather than later?

/cc @stephanfowler if you are looking for a bit of JS work I think this might be a valuable place to start.