As a high-rep user, I will either edit tags to add a missing relevant tag, such as the JavaScript tag, or I will add syntax-highlighting hints to the Stack Exchange's Markdown parser:
<!-- language: lang-js -->
if (foo) {
alert("Shazbot!");
}
However, as a low-rep user like yourself, without full-editing privileges, I would try to improve the post as much as possible, if there are any other things that can be improved as well (grammar, spelling, missing punctuation, etc.).
If adding a missing relevant tag or adding syntax highlighting is the only thing to improve in a post, personally, I would approve such an edit, but I can see how a lot of other users would reject such edits as seemingly too minor.
If there's nothing else to improve in the post and your edit is still rejected, I would just move on and find another post to edit instead.