styling has been moved from javascript to css