Update LAB.src.js

to support chrome-extension