javascript concatenator now working