kblubis
You can try with Layout settings in template >> just add a new section >> select 'block' for column type
and add new block with the content is the code of widget:
<section id="prosple-search-widget" />
For JS code, you can add into the file: /templates/ja_ego/js/template.js
Pls note that it's 3rd party resource so I'm not sure if it can work well 🙂