Fix a bug where multi-word statuses would not work

Also update javascript for better efficiency be eliminating DOM traversals for every click of a status button
Merge branch 'develop'