old_contents: /* 
  Name:         fibonacci
  Description:  This function calculates fibonacci numbers for one or endless iterations.
  Source:       https://github.com/fvdm/nodejs-fibonacci
  Contact:      https://github.com/fvdm/nodejs-fibonacci/issues
  License:      Copyleft - You can do whatever you want, just don't copyright it.
  
  It returns an object with these elements:
  
  * number     - the number as string
  * length     - the number of digits
  * iterations - how many iterations it took
  * ms         - duration in milliseconds
  
  Usage:
  var fibonacci = require('fibonacci');
  var bigNumber = fibonacci.iterate( 3000 );
  console.log( bigNumber );
  
  Get all numbers:
  WARNING: THIS CONTINUES FOREVER !!!
           Kill with fibonacci.kill();
  
  fibonacci.on( 'result', function( result ) {
  	console.log( result.iterations +') '+ result.number );
  	if( result.ms > 10000 ) {
  		fibonacci.kill();
  	}
  });
  fibonacci.iterate();
  */
  
  var	bignum = require('bignum'),
  	EventEmitter = require('events').EventEmitter;
  
  var app = new EventEmitter();
  
  app.iterate = function( limit ) {
  	var	next = bignum(1),
  		cur = bignum(-1),
  		last = bignum(0),
  		loop = bignum(0),
  		start = new Date().getTime();
  	
  	app.doWhile = true;
  	
  	while( app.doWhile ) {
  		last = cur;	// prev cur -> now last
  		cur = next;	// prev next -> now cur
  		next = cur.add(last);
  		
  		var result = {
  			number:		next.toString(),
  			length:		next.toString().length,
  			iterations:	loop.toString(),
  			ms:		new Date().getTime() - start
  		}
  		
  		app.emit( 'result', result );
  		
  		// found the one
  		if( limit !== undefined && loop == limit ) {
  			app.doWhile = false;
  			app.emit( 'done', result );
  			return result;
  		}
  		
  		// catch infinity
  		if( next == 'Infinity' ) {
  			app.doWhile = false;
  			app.emit( 'stop', {
  				reason:		'infinity',
  				max_limit:	Number.MAX_LIMIT.toString(),
  				last_result:	result,
  				iterations:	loop.toString(),
  				intended:	limit ? limit : false
  			});
  			break;
  		}
  		
  		// count
  		loop = loop.add(1);
  	}
  }
  
  app.kill = function() {
  	app.doWhile = false;
  }
  
  // ready
  module.exports = app;
  
new_contents: /* 
  Name:         fibonacci
  Description:  This function calculates fibonacci numbers for one or endless iterations.
  Source:       https://github.com/fvdm/nodejs-fibonacci
  Contact:      https://github.com/fvdm/nodejs-fibonacci/issues
  License:      Copyleft - You can do whatever you want, just don't copyright it.
  
  It returns an object with these elements:
  
  * number     - the number as string
  * length     - the number of digits
  * iterations - how many iterations it took
  * ms         - duration in milliseconds
  
  Usage:
  var fibonacci = require('fibonacci');
  var bigNumber = fibonacci.iterate( 3000 );
  console.log( bigNumber );
  
  Get all numbers:
  WARNING: THIS CONTINUES FOREVER !!!
           Kill with fibonacci.kill();
  
  fibonacci.on( 'result', function( result ) {
  	console.log( result.iterations +') '+ result.number );
  	if( result.ms > 10000 ) {
  		fibonacci.kill();
  	}
  });
  fibonacci.iterate();
  */
  
  var	bignum = require('bignum');
  var EventEmitter = require('events').EventEmitter;
  
  var app = new EventEmitter();
  
  app.iterate = function( limit ) {
  	var	next = bignum(1);
    var cur = bignum(-1);
    var last = bignum(0);
    var loop = bignum(0);
    var start = new Date().getTime();
  	
  	app.doWhile = true;
  	
  	while( app.doWhile ) {
  		last = cur;	// prev cur -> now last
  		cur = next;	// prev next -> now cur
  		next = cur.add(last);
  		
  		var result = {
  			number: next.toString(),
  			length: next.toString().length,
  			iterations: loop.toString(),
  			ms: new Date().getTime() - start
  		}
  		
  		app.emit( 'result', result );
  		
  		// found the one
  		if( limit !== undefined && loop == limit ) {
  			app.doWhile = false;
  			app.emit( 'done', result );
  			return result;
  		}
  		
  		// catch infinity
  		if( next == 'Infinity' ) {
  			app.doWhile = false;
  			app.emit( 'stop', {
  				reason: 'infinity',
  				max_limit: Number.MAX_LIMIT.toString(),
  				last_result: result,
  				iterations: loop.toString(),
  				intended: limit ? limit : false
  			});
  			break;
  		}
  		
  		// count
  		loop = loop.add(1);
  	}
  }
  
  app.kill = function() {
  	app.doWhile = false;
  }
  
  // ready
  module.exports = app;
  
subject: Clean up whitespace