Don't arbitrarily truncate js snippets
Allow setting user [Fixes #36]