jQuery Extension to center elements