Improve layout of category directive and getting JS working so that it calls seneca service