Replace $LAB with native JS loader