Clean some code on index.php, order of load js, and set interval pause slide