VOS s6 Javascript Implementation