Updated WebMEG

Added new pre-processing functions