jQuery api translation