beautified javascript
cleaned up picasaweb method