compile to js files