improve pages app with ace editor and code beautifier