Fixed JS concatenation bug