logging node version in sample scripts
prepping 0.11 support

- moving backup/restore of source files that are modified into JS
- doing different injections for different node versions