Fixes on jquery bridge