Consolidate all copies of S5 support code into 1 spot.

This repo was showing up in github as a JavaScript repository because of
a lot of duplication of the S5 framework. This commit cleans all of that
out and gets back a single copy where possible.