testing javascript debug in intellij