replicated html and hooked up js