IE8 fixes - String.trim + Raphael fix