some javascript and stylesheet fix