use local js to resize uploading image; use bootstrap css for activity
releated functions.