 One of the things that most prompted Kevin Smith (I) (qv) to make  the film was a promise he made to friend Jason Mewes (qv). If  Mewes managed to stay off drugs he would be able to play the  character of "Jay" one more time. Smith kept his promise.