Compile js file.