master- add jsbeautify rc, adjust whitespace, abstract out routes