Fix [bug983299] - moved external linked scripts to the end of the html