     steroids.layers.push {
       view: webView
     }, {
-      onSuccess: -> alert "on success!"
+      onSuccess: -> navigator.notification.alert "on success!"
     }
 
 


    preloadedView.unload {
    }, {
      onSuccess: -> alert "unload call success"
      onFailure: (error)  -> alert "failed to unload: " + error.errorDescription
    }

  @testPreloadThisAndOpen: () ->

    steroids.view.off 'preloaded'
    steroids.view.off 'unloaded'

    navigator.notification.alert "all event listeners removed"
