fixed okapi js