Add license terms to Javascript files