Working on cordova watcher