put facebook button in separate js file