title: Get Sharepoint page library list id
body: <p>I am working on a custom solution where a for current page of page library I am doing some logic on edit mode.</p>
  
  <p>I wish to get the id of the current page.Is there any in built way to get it in JavaScript object model.</p>