onloadend tiles added
Replace htmlObject to the Input constructor initialization.