debug js and restyle loc