resolve PHP error thrown by registered jquery version check