added missing require.main
replaced tab withs spaces
added definitions for colors.js
Merge pull request #602 from Bartvds/master

added require.main to node.js