Update 'licence' spelling in JS