slight modifications in js and html