removed script and copied pasted to another javascipt file