minor fix, if $lock_timeout or $lock_refresh was missing JS syntax error was caused breaking site preview