Fix #777

Remove ajax disabled check.