add cache dir
fix dump mistake
fix some problems with js
Revert "fix dump mistake"

This reverts commit 0b0b652ac6ed5afbd49a2cd9f6fd5613fb01f76e.
add precompile
add precompile2
fix js for strategic objectives