added JavaScript types examples
added JavaScript types examples