Fix warning about compilation to js