Adding bridgePattern.js