Fix JS bridge