Using JS addEventListener and attachEvent methods.
Some features.