Fix the JS error on point update

Calls to `point.update` ends up in the JS error, see: http://jsfiddle.net/68d5t here you can find the fixed version: http://jsfiddle.net/68d5t/1/