Fixes #3: support flickr_photos:by in javascript