Inject javascript and css when button is clicked
Added simple visual feedback for successful posts
Tidied. Now logs an error message if one appears.