Fixed problem in vote.html when using Safari. Apparently, a JavaScript function cannot have a parameter with a default value.