added JavaScript bridge to call JS