improved js and decoration of page parts