Turns all major Javascript functions into immediately invoked jQuery objects