Get Object Out Of Array Javascript Append Function In String