js bridge now works if it could be initialised