Fixed jQuery dependence on autoresize