Added support for jQuery UI and foundation.