Updated noc.js

Took out more syntax errors. Should work now.