Fixed error in js file.