Added jquery cookie + started to implement opencategory functions