Removing transitive dependency to jQuery