Compile tests to js