Work in progress: JS bridge

Change-Id: I667314bad95e774539a93d17d794169c9cb224fb