Is your boss a dev? Did he think you straight copy/pasted from the internet? Did he even ask about the licensing? Your boss sounds incompetent, but these answers would probably help us understand.
Yes, he is a dev. He thought I copied/pasted. He did not ask about licensing. He also told me that "inner JavaScript classes" are inappropriate for enterprise code. I asked him to explain what he was talking about - he meant my object constructors. He said I could not create new java (yes, java) classes in my JavaScript code. ????
I'd guess that he and the product do not tend to use javascript objects when writing code - which means that the code was above his (and the product's average) coding head. This also means that it wasn't the best way for you to code the project.
For a code review to pass, the reviewer should think about the minimum person working on the project and whether they would understand or make guesses when fixing it - or at least know where / when to get help.