added $compat option for compatibility with some old jQuery versions (like 1.4.3)
also updated plugin version