Reorder scripts to fix listview issue in gh-pages?