I suggest to you write as html
<ul>
<li>
<a href="@{...}" ...
You can write as javascript using julius, in that case some like
var Tabs = {
'Tab one' : '@{MyPageController1R}',
'Tab two' : '@{MyPageController2R}',
'Tab three' : '@{MyPageController3R}',
'Tab four' : '@{MyPageController4R}'
}