Fixed jquery dot replacement