Move non-blocking javascript to footer