Passing parameters from js to native