rethinking jQuery dependency