refactored callbacks of general page (by livescript backcalls)