Extract out HTMLObjectProperties into its own module