Fix for broken JS.