fix for compiler js
fix for chrome