Converting from Jade to EJS templates

Conversion to EJS done.

Also, got auto-sizing of the iframe working.