Adding java files to a js project ... weird