Java and JavaScript