upgrade to Cordova 3.0. New barcode scanner plugin version
removed deprecated window.plugins check and reference to barcodescanner.js