Fixed the "target" syntax highlighter stoping when it reached a hypen.
Removed useless call to get server locales.