messageLength.js

Random javascripts! Additionally, some minor formatting changes.