$.proxy to get the correct this scope