re-structured analyzer JS files. #329