added missing license. removed unused function.
Merge pull request #822 from mozilla/cleanup-817

Post-817 cleanup: added missing license. removed unused function.