JavaScript-based digital signage player for use with the DAT server