Added missing copyright notices to javascript and template files