How To Pass A Json Object As A Parameters In Javascript