JS issue solved