Moved todataurl to its own folder under js. Added .gitignore