http://jquery.org/license/
You don’t have to do anything special to choose one license or the
other and you don’t have to notify anyone which license you are using.
You are free to use a jQuery project in commercial projects as long as
the copyright header is left intact.
http://en.wikipedia.org/wiki/MIT_License
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
To sum it up - you can use it and it is up to you to choose how - the libraries folder is what you want