Another major refactor

replaced multiple `js fileName' with one `mapM_ js fileNames'