Use version 3.4 of the JS API.