Add examples for JavaScript