improve chromecast.js api and send random photos to screen