fix JS doc ready , Маштаб превью.
Merge branch 'master' of git://github.com/axce1/haimage
Merge pull request #21 from Exoldy/master

script fix, preview fix