fix css errors & temporary $.ajax undefined errors