update JS path in posts layout too