Removed dashes from function name

I've removed the dashes from the function name as it is not allowed in JS.

Beware: I didn't update the minified js file yet!