Add auto initialization via <body> attributes, fix #1