Added LICENSE.txt to repo's root.
Added Copyright section at the top of all JS files.