Do not minify JS unless running tests
Make xdatetime respect read_only (issue #86)