Refactor signage to JS