How to get Zoho parameters within a Zoho widget?

How to get Zoho parameters within a Zoho widget?

I have a related list widget in my CRM that uses html to submit a file. 

  1. <html>
  2.   <head>
  3.     <meta charset="UTF-8">
  4.   </head>
  5.   <body>
  6.     <form action="javascript:loadAPI(document.getElementById('fileSubmit'))">
  7.       <label>Upload a file</label>
  8.       <input type="file" id="fileSubmit" name="filename">
  9.       <input type="submit">
  10.     </form>
  11.     <script type="text/javascript" src="submitFunction.js">
  12.   </script>
  13.   </body>
  14. </html>
After clicking submit, it then triggers a Javascript function. The function is currently empty but I would like to include several Zoho parameters inside of the function. I need to get the module name that the widget is in and the name of the specific record that the user is on. Is there any way to do that?