Added lang and dir param to html tag - fixes #172