fix headers js