Clean up onReady hash handling
separate style and content in place definition