view and JavaScript adjustments