rescue if execjs is present but runtime is not available

Need to catch the runtime not available exception separately because execjs uses a custom exception for this case.