Debugging for Java 6
replacing all jquery code by vanilla JS