javascript database connection string generator