Replace instances of Template with BarcodeScanner. Add js code for barcodescannertest file.