Add javascript validation to test for spaces in Project Name field

fixes #296