adds klass and includes some scripts on base.html