Renamed proxy

The naming now reflects, that the proxy is only being used for images.
[Refactoring] JS code style