Position debugged & optimize Js