add require for xtemplate
change code style to require
change highlight to active
pass tcs
passing ie11
compatible with ie11. Fixes #514