fixed missing <html> tag in client-side js hack