Surreptitiously fix JS