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

Now base URL may ends with hash.

Added some semicolons. Code now is more strict.