Fixes binding of jquery.