fix search input in non-frame mode (fixes #393)

jQuery wrap has been called twice which fucked up the layout.