Atom Ascii Art Package tutorial converted to JavaScript