Restructure assets; apply jshint globals