Fixes tonic ignoring extensions on lookups
Added checking for mjs offline