a sprockets preprocessor for mimicking d3js' smash library