added fix for enqueueing scripts