Update functions.php

Cleaned up unused scripts.