Converted old html to jade templates