Picasso with Javascript