Added LICENSE file.
Added license info to README.
Added attribution.
Consistency.
Added hasOwnProperty check.