Fix up the BS3 javascript.