Merged #2299 and removed jquery cornering and migrate scripts.