Preview filename does not match settings

I noticed this tonight. In preview mode, the filename in the web inspector does not match the file name set in RW. This is causing an issue with some Javascript I am writing that depends on the filenames matching. Is there a reason why RW does this?

Thanks
Greg

Due to the legacy of how we preview pages (we always export a page as index.html), and how we clear it up, we don’t apply the name until the page is either exported or published. We don’t nest the file in a folder, either.

Will see what we can do about the filename, however.