Added simple javascript example