code refactoring due to jquery new version
Merge pull request #3 from iceniumsamples/master

code refactoring due to jquery new version