fixing js in createproject.js