Replace characters specials with javascript