fixed js_index to work more like index and less like read_post