created prompt for JS cost and also made a re-prompt for not using a number