Fire correct jquery function for ratio buttons.