fixed some template stuff
added .center style
added default option to the selector
implemented some javascript logic