Added exception handling for bad regexes. Changed name of main script. Refactored javascript. Working on expanding README.