Fix javascript function name.