fixed some e css/js problems on the homepage