fix test failures in text_utility_spec.js on Chrome 60
fix test failures in text_utility_spec.js on Chrome 60

t-zuehlsdorff/gitlabhq,t-zuehlsdorff/gitlabhq,dreampet/gitlab,iiet/iiet-git,iiet/iiet-git,jirutka/gitlabhq,jirutka/gitlabhq,jirutka/gitlabhq,axilleas/gitlabhq,dreampet/gitlab,mmkassem/gitlabhq,t-zuehlsdorff/gitlabhq,mmkassem/gitlabhq,stoplightio/gitlabhq,stoplightio/gitlabhq,iiet/iiet-git,axilleas/gitlabhq,stoplightio/gitlabhq,axilleas/gitlabhq,axilleas/gitlabhq,dreampet/gitlab,iiet/iiet-git,mmkassem/gitlabhq,dreampet/gitlab,t-zuehlsdorff/gitlabhq,mmkassem/gitlabhq,jirutka/gitlabhq,stoplightio/gitlabhq