separated javascript files for army builder