added .gitignore
changed example to javascript