Use a compile script to generate single js file