Added copyright notices to javascript output.