jquery check, image file check, support for non clean path sites