Workarround for monocle bug caching templates. Fixed device.js to work in native android app