add challengeType var to get rid of js error from challenge-submit.js

@indytechcook - just declaring here to prevent error.