Bug in the variable name

Call to setLineSize will cause "Uncaught ReferenceError: ns is not defined"