New version of bridgeAPI rewritten to remove serialization of arguments and is much cleaner; supports Firefox and Chrome