Make JSHint happy with default values implementation