Using Socket.IO to trigger page and file reloads