restored old JS example

- added radio switch between the two sources
Merge pull request #2 from Rise-Vision/feature/restore-old-js-example

restored old JS example