fix fancybox not working on single post page
fix IE7 not supporting .trim