Convert index to gejs