added js samples for users