Refinements to the style and javascript