updated JS for sign view use and initial page setup