Added small amount of inline docs
Removed "deviceready" listener in favour of onAppReady