improve JS compilation
add exemple related to Kotlin bugs