Improved the references to utils so implemetation of changes are easier and fixed several bugs for IE8