fix scroll top js code, store image as data-uri format or upload to AWS