date format, form cleanup, js for active navbar