move spec files to before end of body tag