Javascript Create New Instance In Sql