more fixes to the optimization to deal with auto mode on lein-cljsbuild