Forum:Custom new 'Alignment' photo button - possible?

Not sure if this is the right place or not, but if it is, sorry in advance...

When in Visual mode, clicking the Photo button on the right-hand rail brings up a window - add a current photo, or upload a new one. When adding an image to a page (using either of the previously stated methods), it brings up a different set of options on the right-side of the window: "Alignment". Underneath that, there is two options: Layout, for changing the size of the photo, and Alignment, for putting the photo on the left or right side of the page.

I was wondering if possible, using the global.js page that users have (for things like Chat Hacks for all Wiki's), to make a custom button that would align the photo in the center of the page. I feel it's a bit of a hassle to go to Source mode when already in Visual, so I was wondering if this would be possible. I wanted to know if there was a code for the global.js page to add such a button, or if someone knew how to make code and could tell me a bit of how it works so I could try one? -Super Saiyan 7 Somebody (Talk?)