Update and rename test.js to sample.html

Closer to verion 1. - better (and fully functional) sample