If any part or parts of this chapter are for any reason held to be invalid, such decision shall not affect the validity of the remaining portions of this chapter. All former traffic ordinances of the City of Hoboken are hereby repealed, except that this repeal shall not affect or prevent the prosecution or punishment of any person for any act committed in violation of any ordinance.