jQuery options get merged with defaults. Small code cleanup