added js example app