app adding device plugin for "deviceready" event