delaying loading scripts