prevented graph load when no keywords, added device ready event
added device permissions and cordova feature