Rename `$HANDLER` to `PROXY`.

Remove `CONSTANTS`.

Make it IE friendly via `.charAt`

Use `STAR` constant.

Named some methods, did some renames.