Correct sintax to work on jQuery 1.9x