Splits js into files based on Classes, and auto loads them in  order using php