hehe :). Have changed this.
var normalizedTestLocation = testLocation.toLowerCase().replace(/ /g, '');