Added new fm.websync scripts and updated videosession implementation