Add initial plotting library
Improve utils.js