Fixed broken JS