Added index fixture for jasmine spec. Added documentation