static/js: Reorganize js files (depending on their use & dependencies).