Fix search buttons in header when using application layout

Search js was on the splash layout and search bar code was in the header partial. Now js and html are together in a search partial and header renders that partial.