change init position in js