moving script tag from index to layout jade