Fix the JS error on point update
Merge pull request #3 from slawekkolodziej/master

Fix the JS error on point update