stredm button functionality

jquery and script revisions