Indenting issues here, all this needs to go 2-spaces to the right, since it's inside the ready callback function.