Minor refactoring

Refactored several methods to be more concise in JSocial-Buttons and
JBorder-to-background