[javascript] How to read the post request parameters using JavaScript