Create logPars.js

The Javascript file for the log parsing tool.