Uncaught Error Cannot Access Private Property