Wrapped live-reload script in closure