Use appropriate version of remote.js according to APPLICATION_ENV