load functionality (via tag or via direct JSON)