WINE-8: type caused js error and script to stop working.