replace throw with console.log in node.js
code refector
line chart scale partially checkin
Merge pull request #39 from benitoro/master

some fixes