added JS examples