bc plugin added to js and index