add copyright notices for javascripts based on commit history