including barcodescanner javascript library in some pages