access control. js for combining video