Update jQuery to 1.9.1
I think your meant to use is_readable() here