JS Fix for IE