Updated JS to ensure logo consistency