Made comment changes and added console logs

to the parse js file