Changed regex, which has been used to find filename in higher resolution.

Now base URL may ends with hash.

Added some semicolons. Code now is more strict.