moved slider js script call to just before body close tag