fix some novice js errors
fix some novice js errors

purplecabbage/phonegap-plugin-msband,purplecabbage/phonegap-plugin-msband,purplecabbage/phonegap-plugin-msband,purplecabbage/phonegap-plugin-msband,purplecabbage/phonegap-plugin-msband