Apply hook only to HTML5 projects.