Fix coding style's problems.
Fix fail 'cordova:build' task with cordova target option.