updating live fixed js
WLPROD-70: reformatted js, fixed code