Added client-side vision processing code and frame handling in JS
Cleanup