[The general power to adopt local police ordinances of all kinds is contained in N.J.S.A. 40:48-2. The power to impose penalties for violation of ordinances is contained in N.J.S.A. 40:49-5.]