It would be nice to not have this function duplicated in `/unit/support.js`. I could download the file via AJAX then but not sure if it's worth it...