Wrapped code inside jQuery S-L function