Fixed a couple of bugs that prevented me from using the wrapper initially

[FIX] fixed bug: "camera is not defined"
[FIX] fixed bug: "srcElement is not defined"