Adding struct. Left with STRCOPY and \0 in js