(feat) #noticket Made new.js code clearer