Reduced js

Streamlines things, while still allowing buttons to be styled.