Jquery checks if there's a property that must replace another one and does it atm