fix picture size, remove fb JS SDK