Add behaviours to userdef.html.