incorporated styling and javascript into views