Added js sample