separate to Spec.js + Device.js