atching creaky old api for JS header