Upading .plan
Updating pages
Changing typeOf to return dom-element instead of element
Remove unnecessary code
Making compile async