Divide examples
Add examples to Javascript