Solution 1

Well it's a nice example. This example basically rely on QueryString that is appended to the page URL. I hope there could be any other way to find out the JavaScript's Enabled or Disabled status. but for this time my problem has overcome.