surveys index fix and ajax testing
translated app to PL