post attributes in jquery were typed wrong