advance of js in header