Forum:Loading JavaScript for preview-mode

Is there any way to enable custom JavaScript (i.e. Common.js, Wikia.js, global.js, etc) for the preview module? Or is it logistically impossible? I was thinking something similar to UnsafeScripts might be a viable solution. I've noticed recently that custom CSS now applies to previews, but I'm not sure if that's something Wikia did or if my using UnsafeScripts is the cause. Either way, it suggests that it may be possible.

I think something like this would be very handy, especially for editing the Oasis WikiNav when using the ExtendedNavigation script.