renamed has=>has.js
Added Java code to generate license headers