Petites corrections javascript.