Add javascripty side for uploading framework