latest fixes for 1.15,

added BP 1.7 compatibility,

added html5 doctype