fixing ajax and buttons style