Fix precompile js issue