changed functions so that it can be used with jQuery 1.4
Merge pull request #73 from izayoi256/dev

changed functions so that it can be used with jQuery 1.4
Merge remote branch 'upstream/master'