restructure, js files linted