fix double js