Wrapper; Adding minor fixes to html5 builds accidentally calling native function. Fixed input to match the new values on html5