use $.text() for better cross browsers support