Moved down new functions
Added check for root project
Minor
Added mandatory for project name
Added js for chooser type