fixed query errors
script requires to set require_wiki to either true or false
Merge pull request #1 from ayufan/master

jquery and config fixes