Small modif on general js