Added html lang attribute
Added "open external link on a new window" function