Minor style and JS fix