bug fix : centre js (twice, ready and load)