Device.DB available

Modification to compile and use Device.js with Device.DB