moved require to rt-require tag instead of inside of doctype and removed doctype completely