fix websocket issue for older android versions, it was missing cordova.js reference