Fixed a javascript error that was preventing new projects from being created.