remove unused view code
remove unused ajax functions from info view