sass-converted
added jasmine tests for cache.js and device.js