The wrong way to detect timezone in javascript.