Finally got the hang of OOP in javascript.. the public functions for the classes are prototype methods.The quickhull works! Don't use the code for some serious stuff.. its come out of casual coding and might have some errors. Some escape sequences and optimizations remain, but as for the javascript experiment it looks good enough.. I had to put quite a bit of code in for even this simple algo, CVector, CPoint, CEdge and CHull classes. Perhaps a reusable good js geometry util can be written for general usage :-) More later..
 
  Have a go at it below. Enjoy :-) [Only works on Google Chrome] [xyz-ihs snippet="Quickhull"]