Node showing no issues with my code, but will not work when testing

link to subforum post on javascript

I cannot figure out why this is not working. I have my suspicions, but I am not certain if this is a bug or not, considering it works using node without issues.