fix phonegap/cordova adapter api not filling bug
linting error
add comments
use feature detection instead of option for cordova
fix feature detection
Merge pull request #670 from howonlee/master

(#589) fix phonegap/cordova adapter api not filling bug