Make jquery aim browser compatible.

As response to https://github.com/cihadturhan/jquery-aim/issues/4.