Emulator support for webapis.js and b2bapis.js

I am attempting to debug existing web app code in the emulator but these .js files are not available? Not sure how to add them.
code that works on device
function getMac() {
var mac = null;

    try {
        mac = webapis.network.getMac();

Hello,

For Smart TV questions, please login to Seller Office TV (Seller2.0) and Ask Question in the 1:1 Q&A section.

Regards
Hasan