Update jquery interval check to properly support void javascript execution.