rename DeviceSpec.js to Device.js