Added closing tags to the JS for creating the navigation arrows to fix bug when viewing in IE8

Added the closing tags to the the append due to the JS not creating the elements at all IE8.

NB This may be a problem with the timer JS also.