added javascript facebooking uploading