Posting status on facebook is done and javascript is seperated from  html