Category pindrop refactor

@kendallflutey please review then merge into master. Changes include, Jasmine testing, Modenizer polyfill.