Use local jquery instead of remote as remote header isn't set for cross site scripting.
Added option to search for Open only or both for the search function