Fixed broken javascript.