Fixed CSS styles and JavaScript code