now using WeaveAPI.initializeJavaScript().

Change-Id: Ic3e96000cc936519b4028579e46a7c946ce4cb07