edited deadweight to include js files