Ensure url is string.
Formatting.
Tidyup.
model is more important attr, so declare earlier.
Add jqueryui for those tests that need it.
Built JS.