Fixed compatibility error with jQuery 1.9.
Updated loader to get jQuery 1.9.

Closes #23
Merge pull request #24 from michaldudek/master

Fixed jQuery 1.9 compability.