Abstract all js into separate files