saving ajax script for later