Translate JS code to JAVA, part I
Translate JS code to JAVA, part II
Make translated JAVA code compile