improved js and coffee concatenation