javascript ISE fix