Update sample.html

javascript function name update.