jQuery 1.9.1 + confirmation on empty database