validating Template parameters
removed validation

I think that's not nice JavaScript style, if it fails, it fails and I
definitly wont test parameters every time I create an object.
renamed vars