Array Push In Front Javascript Substring Until Character Creator