Simplified js files config in rake task

Also deprecated the old stuff