Improved the javascript implementation
Merge branch 'master' of https://github.com/vid14114/vosel