specify mandatory radix parameter
add missing semicolon, use strict comparators
remove illegal trailing comma