removes js from header