add data constructor js