tightening up js and place schema