v2 - with jquery dependency