Reverted to previous version of create survey javascript