Patched typo in lux/__main__, added JS endpoints for lux

It's hard to debug/test without the physical half