better js and updated style