Updating to latest jquery, code formatting