Jquery breaks out at some characters