Dots in javascript variable names make jQuery crash, close #1225