Update compile.js

hotfix