Added electroInv.js file