added javascript bridge