Adding resize js