moved license to header of JS