clean up stories js