My sub highlight #1295

remove $window dependency here