Moved Index to knockout