Issue #255, add require for user modal javascript