You should call a criminal defense attorney. It's not just going to court he may end up with a jail sentence so the attorney needs to know the charges and try to defend and give mitigating factors. I'm in Newark all the time. The judges sees violations very seriously.
You really need to retain an attorney. There is many questions I have. Why were you stopped? What was the probable cause. How did they discover drugs? Was there a consent to search? What was the reasonable suspicion to ask for a consent to search? We're your constitutional rights violated? If there was an odor of marijuana did the cops read your right prior to continue interrogation?
You really need to speak to a criminal defense attorney.