data passing from js to controller