added code colouring
updated ns.js