added JavaScript API function loadFile()
added JavaScript API function loadFile()

Change-Id: I65c23cfd8c5f9f2dce7583373addce2c25f6804a

WeaveTeam/WeaveJS,WeaveTeam/WeaveJS,WeaveTeam/WeaveJS,WeaveTeam/WeaveJS