Remove `define` wrapper from test js files

Use global `require` function directly on the script