JSlich (JavaScript license checker) will be a tool you can use to check whether all the javascript used on on a webpage is properly licensed using free software licenses, in a machine readable way.