Basic sample for javascript.