Added javascript warning and fixed Internet Explorer display issue