Changed Some links and test for javascript offline.