Cleaned up Process jquery