Fixed js samples