Fix image loader on IE; add loader test

`obj.src = ""` triggers the error event on IE while it doesn't on webkit
so adding a check for the type of browser fixes the error.

See #549 for more details.