consolidate *.js