Add javascript interface to java file