jquery inheritance