Updated js for logo injection