Fix template for parameter types in callbacks

Support for multiple types (like 'Number or String') in callback
signatures. Se for example signatures in documentation for jQuery.map.