added js external interface demonstrations