Modified DahuScreencastModel class in dahuapp.js

Added actions in the function addSlide.