left over stuff when trying to pull together an html5 photobooth app