Move home html and js into client