Fix case-sensitivity in javascript function name :]