adding a convenience function for generating init.{html,el}