initial import of version 0.4.0
jQuery 1.9 compatibility