Fix WL-745

Tested on FF and IE8