TOOLS-525: fix options.js failure
TOOLS-525: improve error message