add script index to jade