added hover state to .secondary button; moved ajax function to plugins.js