fix js call bug