[Studio] Fixed js generator, added sql tablespace