pruned js files from external reference to single html