This is a Feature Proposal
Description
The functionality to include and evaluate JavaScript files is pretty neat, though it seems to be kinda inflexible. My proposal would be to pass the options object that is already available into the handler, when evaluating the js file.
The only change necessary seems to be adding the options here.
It's obviously debatable wether this strays too far into the territory of plugins, but it would make my life right now a lot easier without any (for me) obvious drawbacks.