added a more generic version of he toggler (jli.js), not tested yet...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>