ff javascript library examples