Push inline JS to main-index