Hi I want to write clean code that I can read and have a good overview.

So I wrote this:

```
var id = '12345';
var coll = ['scc-roles','scc-proj-' + id];
var spm = 'some-role';

var data = {role : spm, roleNames : 'sccss-user', collection : coll}
var spmRoleId = xdmp.eval('declareUpdate();
                          var sec = require("/MarkLogic/security.xqy");
                          var roleId = sec.createRole(role, "Generated project member", roleNames, null, collection,null,null);
                          var uri = "http://marklogic.com/xdmp/roles/" + roleId;
                          xdmp.documentAddCollections(uri,collection)',data,{"database" : xdmp.securityDatabase()})

```

But apparently a newline is not allowed in `xdmp.eval()` ?

```
[javascript] JS-JAVASCRIPT: + 'var sec = require("/MarkLogic/security.xqy"); -- Error running JavaScript request: SyntaxError: Unexpected token ILLEGAL

```

I tried using a '+' sign to generate a strng over more then one line, swapping single and double quotes but no luck.

Being able to test this code (copy paste) to the security database makes a lot of sense to me...

If I wrap it all in one unreadable line , it works ok.

hugo