RUM JavaScript API - GET asynchronous code snippet