trying to render JS on a bad checkout, not sure why it tries to get index js