add hasClass method to exports
merge