Moving from jQuery to Vue