changed canvas ID to imgCanvas
added toCanvas function under Global Functions
Adding main.js
Merge branch 'base64ToCanvas' of https://github.com/CodeforBirmingham/HAB-Detection