remove redeclaration of scripts var