adding function.js
implement drawing
add preview canvas
Merge branch 'master' of https://github.com/ugenieus/number-recognizer-web