Add copyright to JavaScript file