Changes, fixes and ie8 compatibility