fixed live reloader to work correctly on Safari