Add licence info - same as the original JS libraries this was ported from.