added removeListener to homepageStatsDirective
added horrible IE10 hack :(