working on ff, formatting client js