moved single html js to individual files