adding magnific script to scripts.html