refactor: rename takepicture to scanQRCode
add jsdoc
update Building-Blocks and add cross_browser style compatibility