Templated the API JS, made it modular enough to use on the Browse page too (hopefully)
Basic browse page with adding and deleting works.