prototype 1.3.2 to java 7