Updates to AJAX js from live to on

Signed-off-by: Elliot Condon <e@elliotcondon.com>