More on checkTag()
Moved jquery and jqueryui to local