Convert this to a plain JS file, rather than a requirejs module