remove dependency on vigour-js