jQuery problematic tasks