Added javascript to append or remove the lang

attribute to the url depending on which lang
was selected. NOTE:code contains bug when
switching to arabic when url contains '#'
Removed unused method