fixes to a variety of train pages
adds js to fix ie bugs