Rev BS and jquery

Works fine with newer versions of bootstrap and jquery.  Note: For BS3, the 'error' CSS selector is now 'danger'.

Sorry, this includes junk from another PR of mine.