Helper functions, ACE editor, more page templates