Fixing an issue when refreshing the slave.html page on IE.

Close #106