Made JS script key dynamic.