fixed validation errors: added encoding, removed stray script tag