fixed js in magnificgall.html