Compare jquery solution with IML