consolidate init_cinescripts function, use data attributes first, then url parameters