use native public API |makeURI|
make alias variable |doc| for readability
minor fix

* update comments
update special characters for URL decoding