Javascript load on footer