adds call to smart-resize js