Moves Sass custom function to initializers.

This fixes the issue on my local setup. Travis CI had been throwing an
error.