Update bridgedb.js

abstracting node earlier, before annotations and bridgedb