Is Mozilla Developer Network a valid source to cite?
If that's where you got information you used then that is what you cite. Whether it's a reliable source of information is a question you should probably take up with your advisor.
Sometimes you can trace information found on a secondary source back to primary sources. That's often the case with wikipedia. When that's possible it's preferred.