updated head.ejs

Cleaned up code