References #95 - Fixed IE8 bug when copying over attributes