Moved JS to separate file(s).