javascript concatenation now working