explicitly check for backslash char in attribute subs
reorder require statements
workaround for defining escape chars in Opal
update uri sniff regex for Opal compatibility