Use the same license of the extension which uses this code

To my shame, I have hardly any idea about choosing the license. Just
following the extensions author's decision.