Add animation and idle timeout to html attributes
Revert component.js to prev version