Add common JavaScript operators to the api