fixed wrong reference to PushMessaging API instead of window.postMessage; added reference to apps-resource-loader library