adding 'DOCTYPE html' support