Array Push Two Values Javascript Substring Method