I am considering use value of siteProperties in the javascript.
However, I wondering how it can fetch value from the siteProperties.
Anyone has good idea about it?

You can't. Site properties live server side, not client side. Of course, if you really must you can add a hidden expression to the screen with the property's value, and read that in Javascript, but that'd be a dirty trick.