JS change up in draw