added jquery ui/bootstrap support