Allow to convert 2 columns plain text to JavaScript using php