Fixing intelligence trainer, which broke due to jQuery 2.0.